package com.ruibang.glass.produce.domain.resp;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: songJinKang
 * @CreateTime: 2023-11-23  11:25
 * @Description: TODO:测厚趋势
 * @Version: 1.0
 */
@Data
public class ThicknessTrendBase {
    @ApiModelProperty("玻璃id")
    private String glassId;

    @ApiModelProperty("平均值")
    private Double avg;

    @ApiModelProperty("最大值")
    private Double max;

    @ApiModelProperty("最小值")
    private Double min;

    @ApiModelProperty("极值")
    private Double peak;

    @ApiModelProperty("1：合格，0：不合格")
    private String determine;

    @ApiModelProperty("横切开始时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime stationStartTime;

    @ApiModelProperty("230测点值")
    private List<Double> values;
}
